﻿@{
    Layout = "~/Views/Shared/Error500.cshtml";
}

<div class="content index">
    <br />您可以返回主页看看
    <br /><a href="@Url.Action("Index","Home")" class="btn btn-primary m-t">主页</a>
</div>
<div class="content closes">
    <br />您可以关闭重试
    <br /><a href="#" class="btn btn-primary m-t close-layer">关闭</a>
</div>

@section Js{
    <script type="text/javascript">
        $(function () {
            $('.index').hide();
            $('.closes').hide();

            if (self.location == top.location)
                $('.index').show();
            else
                $('.closes').show();
        });
    </script>
}